package org.pojo.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hu-zhi-jun
 * @since 2021-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TradeGoods extends Model<TradeGoods> {

    private static final long serialVersionUID = 1L;

    private Integer goodsId;

    private BigDecimal goodsPrice;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品描述
     */
    private String goodsDesc;

    /**
     * 商品数量
     */
    private Integer goodsNumber;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.goodsId;
    }

}
